function add() {
    return  new Promise((resolve, reject) => {

    resolve("11");

    })
}
function add1() {
    return new Promise((resolve, reject) => {
        resolve("22")
    })
}

Promise.all([add(), add1()]).then((success) => {
    console.log(success, 'sss')
},(failed)=> {console.log(failed, 'fafff')} )